//
//  Account.h
//  记账本
//
//  Created by lirilu on 15/3/13.
//  Copyright (c) 2015年 glirlu@gmail.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Account : NSObject

@property(assign,nonatomic) int ID;
@property(assign,nonatomic) float Money;
@property(assign,nonatomic) int PayMode;
@property(copy,nonatomic) NSString *PayModeStr;
@property(copy,nonatomic) NSString *Time;
@property(copy,nonatomic) NSString *Dotime;
@property(copy,nonatomic) NSString *Detail;
+ (NSString*)filePath;
+ (NSString*)filePath:(NSString*)name;
//归档解档的时候会用到
- (void)encodeWithCoder:(NSCoder *)aCoder; //将属性进行编码
- (id)initWithCoder:(NSCoder *)aDecoder ;//将属性进行解码
@end
